<?php

use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});


Route::get('live',[\App\Http\Controllers\live\LiveController::class,'index']);

Route::get('web/{total_money}/{order_sn}',[\App\service\AlipayController::class,'web']);
//Route::get('web',[\App\service\AlipayController::class,'web']);
Route::get('returnCallback',[\App\service\AlipayController::class,'returnCallback']);
Route::get('notifyCallback',[\App\service\AlipayController::class,'notifyCallback']);
Route::get('refund',[\App\service\AlipayController::class,'refund']);

